UPDATE C1_USER_PERMISSION SET END_DATE = SYSDATE, DATA_STATE_CODE = '0' WHERE
INSTR(','||:userPermissionIds||',', ','||USER_PERMISSION_ID||',') > 0